import { BrowserWindow, ipcMain } from 'electron';

export class helloService {

    win: BrowserWindow = null;

    constructor(win: BrowserWindow) {
        this.win = win;
    }

    async ajaxData(data) {
        return await '异步请求，处理完数据后返回';
    }

    getData() {
        return 'login'
    }

}